<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>查看留言详情</title>
	<link rel="stylesheet" type="text/css" href="<?=base_url()?>public/css/style.css">
	<script type="text/javascript" src="<?=base_url()?>public/js/jq.1.12.4.js"></script>
	<script type="text/javascript" src="<?=base_url()?>public/js/js.js"></script>
    <style>

    </style>
</head>
<body>
	<!-- 头部 -->
	<?php echo $menu ?>
	<!-- 主体 -->
	<div class="main clearfix">
		<?php echo $left ?>
		<div class="content">
			<div class="con">
				<div class="bikuang">
                	<div class="right_title"><span>留言回复</span></div>
                    <div class="right_title1" style="text-align: center;">
                    	<h2><span style="font-size: 18px;padding-left: 50px;"><?php echo $result['message_title']; ?></span></h2><br>
						<span style="color:#525252;padding-left: 30px;"><?php echo date("Y-m-d H:i:s",$result['message_time']);?></span></div>
                    <div class="gonggao">
                    
                    	<span style="font-size: 16px;color: black;">留言内容:</span>
                    	<p style="font-size: 14px;">
                        <?php echo $result['message_content']; ?>
                        </p>
                        <br><br>
                        
                        <?php echo form_open('admin/mail/reply',array('id'=>'myform')); ?>
                        	<input type="hidden" name="id" value="<?php echo $result['id']; ?>">
                        <span style="font-size: 16px;color: black;">回复内容:</span><br><br>
                        <textarea id="reply" name="reply" rows="6" cols="140" style="border: 1px solid rgba( 11, 2, 5, 0.2 );"></textarea>
                        	<input id="send" type="submit" style="font-size: 20px;" value="确认发送">
                        </form>
                        
                    </div>
				</div>
			</div>
		</div>
	</div>
</body>
</html>

<script type="text/javascript">
$(function(){
	
	$('#send').on('click', function(event) {
		//回复内容
		if($('#reply').val() == ''){
			alert('请输入回复内容');
		return false;
		}
	});

})
</script>